<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\Route;

//PC端
Route::get('/', 'index/Index/index');
Route::resource('Node', 'admin/node');
Route::resource('Technique', 'admin/technique');
Route::resource('Engine', 'admin/engine');
Route::resource('Role', 'admin/role');
Route::resource('User', 'admin/user');
Route::resource('Safe', 'admin/safe');
Route::resource('Manpower', 'admin/manpower');
Route::resource('bids', 'admin/bids');
Route::resource('News', 'admin/news');
Route::resource('Info', 'admin/info');
Route::resource('Service', 'admin/service');
Route::resource('cost', 'admin/cost');


Route::post('User/index', 'admin/User/index');
Route::post('Role/index', 'admin/Role/index');
Route::post('Node/index', 'admin/Node/index');
Route::post('Engine/index', 'admin/Engine/index');
Route::post('Technique/index', 'admin/Technique/index');


//材料路由
Route::get('materialindex', 'admin/material/index');
Route::get('materialpall', 'admin/material/materialpall');
Route::get('materialstorage','admin/material/materialstorage');
Route::get('materialoutbound','admin/material/materialoutbound');
//机械路由
Route::get('mechanical','admin/mechanical/index');
Route::get('material','admin/mechanical/materialpall');
//合同路由
Route::get('contract','admin/contract/index');
Route::get('labcont','admin/contract/labcontract');
Route::get('machine','admin/contract/machine');
//办公路由
Route::get('supplies','admin/office/supplies');
Route::get('suppliesrecord','admin/office/suppliesrecord');


//移动端
Route::get('mobile', 'mobile/Index/index');
Route::get('mobile/info', 'mobile/Index/info');
Route::get('indexs', 'mobile/Index/indexs');




return [

];
